package com.excel.generation;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentLoopMerge;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 写实体
 *
 * @author 一杯香飘飘
 * @date 2025/2/5 10:53
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WriteExcelEntity {

    /**
     * 第一行数据
     */
    @ContentLoopMerge(eachRow = 14)
    @ExcelProperty("第一行")
    private String firstLine;

    /**
     * 第二行数据
     */
    @ExcelProperty("第二行")
    private String secondLine;
}
